package com.terren.springcloud.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.terren.springcloud.dao.UserMapper;
import com.terren.springcloud.entity.User;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public User getUser(){
        return userMapper.getUser();
    }
}
